<?php
defined('_JEXEC') or die( 'Restricted access' );



$yahooimage 			= $params['yahooimage'];
$strYahooId=$params['arrayYahooId'];
$strTest=$params['arrayTest'];

$strSkypeId=@$params['arraySkypeId'];
$strTextSkype=@$params['arrayTextSkype'];

$arrayYahooId = explode('\n', $strYahooId);
$arrayText = explode('\n', $strTest);

$arraySkypeId = explode('\n', $strSkypeId);
$arrayTextSkype = explode('\n', $strTextSkype);

echo "<div  style=\"clear: both; padding-bottom:2px; padding-top: 2px;  \"></div>";

$tongyahoo = count($arrayYahooId);
for($i = 0; $i < $tongyahoo ; $i++)
{
	echo '<div style="text-align: center;" ><a href="ymsgr:sendIM?'.$arrayYahooId[$i].'"><img alt="ho-tro-web-dung-san-'.$arrayYahooId[$i].'"  src="http://opi.yahoo.com/online?u='.$arrayYahooId[$i].'&m=g&t='.$yahooimage.'"  border="0" /></a></div>';
	if($arrayText[$i]=="")
	echo '<br>';
	else
	echo '<div  style="padding-bottom:10px; padding-top: 3px; text-align: center;">'.$arrayText[$i].'</div>';
}
/*
$tongskype = count($arraySkypeId);

	for($i = 0; $i < $tongskype ; $i++)
	{
		echo '<div style="text-align: center;" ><a href="Skype:'.$arraySkypeId[$i].'?chat"> <img src="http://mystatus.skype.com/balloon/'.$arraySkypeId[$i].'" ></a></div>';
		if($arrayTextSkype[$i]=="")
		echo '<br>';
		else
		echo '<div  style="padding-bottom:10px; padding-top: 3px; text-align: center;">'.$arrayTextSkype[$i].'</div>';
	}
*/
/*so dien thoai*/

$sodt=$params['arrayTell'];
$arraysodt = explode('\n', $sodt);

for($i = 0; $i < count($arraysodt); $i++)
{
	echo '<div  style="padding-bottom:3px; text-align: center;"><span style="font-weight: bold;" >'.$arraysodt[$i].'</span></div>';
}

?>